"""Practical_raining_01 URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/3.2/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  path('', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  path('', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.urls import include, path
    2. Add a URL to urlpatterns:  path('blog/', include('blog.urls'))
"""
# from django.conf.urls import url
from django.contrib import admin
from django.template.defaulttags import url
from django.urls import path, include
from rest_framework.documentation import include_docs_urls

from APP.admins import views

urlpatterns = [
    path('admin/', admin.site.urls),
    # path('current/', include("APP.current.urls")),
    path('admins/', views.admins_index),
    # 导航栏
    path('chart_list/', views.chart_list),
    path('chart_list0/', views.chart_list0),
    path('chart_list1/', views.chart_list1),
    path('chart_list2/', views.chart_list2),
    #热门岗位请求路由
    path('chart/bar/', views.charts_bar),
    path('chart/bar1/', views.charts_bar1),
    path('chart/pie/', views.charts_pie),
    #热门行业请求路由
    path('chart/bar_type/', views.charts_bar_type),
    path('chart/bar1_type/', views.charts_bar1_type),
    path('chart/pie_type/', views.charts_pie_type),
    # 其他分析请求路由
    path('chart/bar_other/', views.charts_bar_other),
    path('chart/bar1_other/', views.charts_bar1_other),
    path('chart/pie_other/', views.charts_pie_other),

    # url(r'^docs/', include_docs_urls(title='接口文档'))

]
